import 'package:flutter/material.dart';

class RefreshFirst extends StatelessWidget {
  /// 展示文字
  final String textDescrip;
  RefreshFirst({Key key, this.textDescrip = 'loading'}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Container(
      width: double.infinity,
      height: double.infinity,
      child: Center(
          child: SizedBox(
        height: 200.0,
        width: 300.0,
        child: Card(
          color: Colors.red,
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: <Widget>[
              Container(width: 50.0, height: 50.0, child: Text('+ 可添加动画')),
              Container(
                child: Text(textDescrip),
              )
            ],
          ),
        ),
      )),
    );
  }
}
